﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
namespace 文本批量替换
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            startwin.DoSplash();
            Thread.Sleep(500);
            if (startwin.Instance != null)
            {
                startwin.Instance.BeginInvoke(new MethodInvoker(startwin.Instance.Dispose));
                startwin.Instance = null;
            }  
            Application.Run(new Form1());

        }

    }

}
